class UserController {

  // 获取用户信息
  async getBasicInfo(ctx) {    
    ctx.body = {
      code: 200,
      data: {userName:'George'},
      msg: '查询成功！'
    }
  }

  // 修改密码
  async changePasswd(ctx) {
    ctx.body = {
      code: 200,      
      msg: '修改成功！'
    }
  }

}

export default new UserController()